package com.medical.service.impl;

import com.medical.mapper.CentralizedMapper;
import com.medical.pojo.Centralized;
import com.medical.pojo.CentralizedVO;
import com.medical.service.CentralizedService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class CentralizedServiceImpl implements CentralizedService {

    @Autowired
    private CentralizedMapper centralizedMapper;

    @Override
    public List<Centralized> findAll(CentralizedVO centralizedVO) {
        return centralizedMapper.findAll(centralizedVO);
    }
}
